﻿<Application 
    x:Class="YiDingCanWp7.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:sys="clr-namespace:System;assembly=mscorlib">

    <!--应用程序资源-->
    <Application.Resources>
        <sys:String x:Key="ApplicationName">易订餐</sys:String>
        <Style x:Key="TextBlockColor" TargetType="TextBlock">
            <Setter Property="Height" Value="240"/>
            <Setter Property="FontSize" Value="72"/>
            <Setter Property="Padding" Value="0,74,33,0"/>
            <Setter Property="Foreground" Value="#e67b08"/>
        </Style>
        <SolidColorBrush  x:Key="CustomPhoneForegroundBrush" Color="#e67b08" />

        <Style x:Key="CustomPhoneTextTitleStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="#e67b08"/>
            <Setter Property="Height" Value="240"/>
            <Setter Property="FontSize" Value="72"/>
        </Style>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--处理应用程序的生存期事件所需的对象-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>